package com.jojo.jojomall.product.feign;

import com.jojo.common.to.es.skuEsModel;
import com.jojo.common.utils.R;
import org.springframework.cloud.openfeign.FeignClient;
import org.springframework.web.bind.annotation.PostMapping;
import org.springframework.web.bind.annotation.RequestBody;

import java.util.List;

@FeignClient("jojomall-search")
public interface SearchFeignService {

    @PostMapping("/search/product")
     R productStartUp(@RequestBody List<skuEsModel> skuEsModels);

    }
